# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
pkgname=py3-lxc
pkgver=3.0.4
pkgrel=1
pkgdesc="Python3 bindings for LXC"
options="!check" # No testsuite
url="https://linuxcontainers.org"
arch="all"
license="LGPL-2.1-or-later"
depends="python3"
makedepends="python3-dev py3-setuptools lxc-dev"
source="https://linuxcontainers.org/downloads/lxc/python3-lxc-$pkgver.tar.gz"
builddir="$srcdir/python3-lxc-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="37660fe97a2171cc3346c31e736ead8a38e328bfcbea621d6b563042fcd1e70c48b97440f6263fb0f6f02a4f1704af2241661bc526921c124a6456c06a497828  python3-lxc-3.0.4.tar.gz"
